import { THEME_LIGHT } from '@/constants'
export default {
    namespaced: true,
    state: () => ({
        themeType: THEME_LIGHT
    }),
    mutations: {
        /**
         * 设置主题
         * @param {*} state
         * @param {*} theme
         */
        changeThemeType(state, theme) {
            state.themeType = theme
        }
    }
}
